import tkinter as tk root = tk.Tk() root.overrideredirect(True) root.overrideredirect(False) root.attributes('-fullscreen',True)